#include<stdio.h>
#include<string.h>


#define MAX_NAME 20
#define MAX_SEX 10
#define MAX_TELE 12
#define MAX_ADDR 30
#define MAX 1000 

typedef struct PeoInfo
{
	char name[MAX_NAME];
	int age;
	char sex[MAX_SEX];
	char tele[MAX_TELE];
	char addr[MAX_ADDR];
}PeoInfo;


typedef struct Contact
{
	PeoInfo data[MAX];
	int sz;
} Contact;



void InitContact();
void AddContact();
void PrintContact();
void DelContact();
int FindByName(); 
void SearchContact();
void ModifyContact();
void save_contact();
void load_contact();